Class CMSExtension

java.lang.Object
com.netscape.certsrv.extensions.CMSExtension
Direct Known Subclasses:
KeyUsage

public abstract class CMSExtension extends Object
CMS extension class, for creating extensions from http input and displaying extensions to html forms.
Version:
$Revision$, $Date$
  • Field Details

    • EXT_IS_CRITICAL

      public static String EXT_IS_CRITICAL
    • EXT_PREFIX

      public static String EXT_PREFIX
  • Constructor Details

    • CMSExtension

      public CMSExtension()
  • Method Details

    • init

      public abstract void init(ConfigStore config) throws EBaseException
      initialize from configuration file
      Throws:
      EBaseException
    • getName

      public abstract String getName()
      Get name of this extension.
      Returns:
      the name of this CMS extension, for
    • getOID

      public abstract org.mozilla.jss.netscape.security.util.ObjectIdentifier getOID()
      Get object identifier associated with this extension.
    • getExtension

      public abstract org.mozilla.jss.netscape.security.x509.Extension getExtension(ArgBlock argblock) throws EBaseException
      Get an instance of the extension given http input.
      Returns:
      an instance of the extension.
      Throws:
      EBaseException
    • getFormParams

      public abstract ArgBlock getFormParams(org.mozilla.jss.netscape.security.x509.Extension extension) throws EBaseException
      Get Javascript name value pairs to put into the request processing template.
      Returns:
      name value pairs
      Throws:
      EBaseException